#!/bin/sh /etc/rc.common

START=99

USE_PROCD=1
NAME=devmode
PROG=/sbin/devmode.sh

start_service() {

	iptables -t mangle -D FORWARD  -p icmp -j DSCP --set-dscp-class EF
	iptables -t mangle -D FORWARD  -p icmp -j DSCP --set-dscp 7
	iptables -t mangle -A FORWARD  -p icmp -j DSCP --set-dscp-class EF
	iptables -t mangle -A FORWARD  -p icmp -j DSCP --set-dscp 7

	procd_open_instance
	procd_set_param command "$PROG"
	procd_close_instance

	/sbin/ethdetect.sh  &
	/sbin/get_ip_mac.sh &
	/sbin/limit_ip_mac.sh &
	/sbin/ethdetect_log.sh &
}

